package com.cn.wanxi.service;

import com.cn.wanxi.model.FacebookModel;
import com.cn.wanxi.model.PageModel;

import java.util.List;
import java.util.Map;

public interface IFacebookService {

    int deleteFacebook(int id);

    List<FacebookModel> getFacebookList();

    FacebookModel getFacebook(int id);

    PageModel<FacebookModel> getFacebooks(Map<String, Object> map);

    int addFacebook(FacebookModel facebookModel);
}
